﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CDefineGlobal
{
    public static class CDefine
    {
        public const int TILE_BRICK = 1;
        public const int TILE_BUSH = 2;
        public const int TILE_STONE = 3;
        public const int TILE_COUNT = 3;    //số lượng tile kế thừa CTile -> code cứng
        public const int TILE_SIZE = 20;
        public const int TILE_CHI_HUY = 10;

        public const int GAMESTATE_INIT = 1;
        public const int GAMESTATE_RUN = 2;
        public const int GAMESTATE_RESET = 3;
        public const int GAMESTATE_QUIT = 4;

        public const int DIRECTION_NONE = 1;
        public const int DIRECTION_LEFT = 2;
        public const int DIRECTION_RIGHT = 3;
        public const int DIRECTION_UP = 4;
        public const int DIRECTION_DOWN = 5;

        public const int XTOP_LEFT = 0; //8
        public const int YTOP_LEFT = 0; //30
        public const int GAME_WIDTH = 520; //8
        public const int GAME_HEIGHT = 520; //30

        public const int TANK_APPEAR_COUNT = 5; //số lượng tank được phép xuất hiện trên màn hình

        public const int ROCKET_NORMALSHOT = 1;
        public const int ROCKET_NORMALSHOT_SIZE = 10;
    }
}
